#include<unistd.h>
#include<stdio.h>

int main(int argc,char *argv[])
{
	int opt;
	extern char *optarg;
	while ((opt = getopt(argc, argv,"d:h")) != -1)
	{
		switch(opt)
		{
			case 'h': printf("%s\n",optarg); break;
			case 'd': printf("%s\n",optarg); break;
		}
	}
	return 0;
}
